package com.itheima.config;

import org.springframework.context.annotation.ComponentScan;
import org.springframework.context.annotation.Configuration;
import org.springframework.context.annotation.Import;
import org.springframework.context.annotation.PropertySource;
import org.springframework.transaction.annotation.EnableTransactionManagement;

/**
 * ClassName:SpringConfig
 * Package:com.itheima.config
 * Description:
 *
 * @Author 王久顺
 * @Create 2024/12/3 18:18
 * @Version 1.0
 */
@Configuration
@ComponentScan("com.itheima")
@PropertySource({"jdbc.properties"})
@Import({JdbcConfig.class,MybatisConfig.class})
@EnableTransactionManagement
public class SpringConfig {
}
